home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / AppsToGo / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_345_a1B7 < prev    next >
Unknown  |  1994-09-22  |  1.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 2a 00 00 00 00 00 00 | 00 2a 61 31 42 37 00 00 |.*......|.*a1B7..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 10 44 69 73 70 6f | 73 65 4f 6e 65 57 69 6e |...Dispo|seOneWin|
|00000060| 64 6f 77 00 00 06 00 00 | 00 00 00 95 00 00 00 00 |dow.....|........|
|00000070| 00 00 00 95 00 00 00 14 | 03 c1 00 28 05 7e 00 ff |........|...(.~..|
|00000080| 00 00 00 00 00 00 0f a8 | 00 00 00 00 4e 1c 00 00 |........|....N...|
|00000090| 00 09 00 00 00 04 00 04 | ff fc ff fa 00 04 00 04 |........|........|
|000000a0| ff fc ff fc 00 00 00 00 | 00 00 00 00 83 00 0b 40 |........|.......@|
|000000b0| 10 6b 53 63 72 65 65 6e | 41 50 49 2f 31 39 39 39 |.kScreen|API/1999|
|000000c0| 36 00 06 47 65 6e 65 76 | 61 00 00 3b 42 6f 6f 6c |6..Genev|a..;Bool|
|000000d0| 65 61 6e 20 44 69 73 70 | 6f 73 65 4f 6e 65 57 69 |ean Disp|oseOneWi|
|000000e0| 6e 64 6f 77 28 57 69 6e | 64 6f 77 50 74 72 20 77 |ndow(Win|dowPtr w|
|000000f0| 69 6e 64 6f 77 2c 20 73 | 68 6f 72 74 20 73 61 76 |indow, s|hort sav|
|00000100| 65 4d 6f 64 65 29 3b 00 | 00 00 06 00 00 00 00 00 |eMode);.|........|
|00000110| 96 00 00 00 00 00 00 00 | 96 00 00 00 00 03 c1 00 |........|........|
|00000120| 14 05 7e 00 ff 00 00 00 | 00 00 00 0f a8 00 00 00 |..~.....|........|
|00000130| 00 4e 1d 00 00 00 09 00 | 00 00 04 00 04 ff fc ff |.N......|........|
|00000140| fa 00 04 00 04 ff fc ff | fc 00 00 00 00 00 00 00 |........|........|
|00000150| 00 83 00 0b 40 14 6b 53 | 63 72 65 65 6e 4f 6e 65 |....@.kS|creenOne|
|00000160| 4c 69 6e 65 2f 31 39 39 | 39 37 00 06 47 65 6e 65 |Line/199|97..Gene|
|00000170| 76 61 00 00 38 44 69 73 | 70 6f 73 65 20 6f 6e 65 |va..8Dis|pose one|
|00000180| 20 77 69 6e 64 6f 77 2c | 20 67 69 76 69 6e 67 20 | window,| giving |
|00000190| 74 68 65 20 75 73 65 72 | 20 74 68 65 20 63 68 61 |the user| the cha|
|000001a0| 6e 63 65 20 74 6f 20 61 | 62 6f 72 74 2e 00 00 00 |nce to a|bort....|
|000001b0| 06 00 00 00 00 00 44 00 | 00 00 00 00 00 00 44 00 |......D.|......D.|
|000001c0| 00 00 00 02 6b 04 40 02 | 6c 01 00 00 00 00 00 00 |....k.@.|l.......|
|000001d0| 01 0f f1 00 00 00 00 00 | 00 00 00 00 0c 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 06 00 00 00 | 00 00 ba 00 00 00 00 00 |........|........|
|00000210| 00 00 ba 00 00 00 00 02 | 6b 02 28 03 c1 00 ff 00 |........|k.(.....|
|00000220| 00 00 00 00 00 0f a8 00 | 00 00 00 4e 16 00 00 00 |........|...N....|
|00000230| 09 00 00 00 04 00 04 ff | fc ff fa 00 04 00 04 ff |........|........|
|00000240| fc ff fc 00 00 00 00 00 | 00 00 00 83 00 0b 40 0b |........|......@.|
|00000250| 6c 69 6e 6b 73 2f 31 39 | 39 39 30 00 06 4d 6f 6e |links/19|990..Mon|
|00000260| 61 63 6f 00 00 4f 61 31 | 41 46 2c 44 69 73 70 6f |aco..Oa1|AF,Dispo|
|00000270| 73 65 41 6c 6c 57 69 6e | 64 6f 77 73 0d 61 31 42 |seAllWin|dows.a1B|
|00000280| 37 2c 44 69 73 70 6f 73 | 65 4f 6e 65 57 69 6e 64 |7,Dispos|eOneWind|
|00000290| 6f 77 0d 61 31 46 41 2c | 46 72 65 65 44 6f 63 75 |ow.a1FA,|FreeDocu|
|000002a0| 6d 65 6e 74 0d 61 31 46 | 42 2c 46 72 65 65 57 69 |ment.a1F|B,FreeWi|
|000002b0| 6e 64 6f 77 0d 00 16 00 | 01 00 00 00 00 00 10 00 |ndow....|........|
|000002c0| 0c 00 01 00 00 00 00 00 | 00 00 00 00 00 00 06 00 |........|........|
|000002d0| 00 00 00 04 00 00 00 00 | 00 00 00 04 00 00 00 00 |........|........|
|000002e0| 00 00 00 75 30 02 6b 01 | ff 00 00 00 00 00 00 0f |...u0.k.|........|
|000002f0| a8 00 00 00 00 4e 1f 00 | 00 00 09 00 00 00 04 00 |.....N..|........|
|00000300| 04 ff fc ff fa 00 04 00 | 04 ff fc ff fc 00 00 00 |........|........|
|00000310| 00 00 00 00 00 83 00 0b | 40 0a 62 6f 64 79 2f 31 |........|@.body/1|
|00000320| 39 39 39 39 00 06 4d 6f | 6e 61 63 6f 00 03 1e 42 |9999..Mo|naco...B|
|00000330| 6f 6f 6c 65 61 6e 20 44 | 69 73 70 6f 73 65 4f 6e |oolean D|isposeOn|
|00000340| 65 57 69 6e 64 6f 77 28 | 57 69 6e 64 6f 77 50 74 |eWindow(|WindowPt|
|00000350| 72 20 77 69 6e 64 6f 77 | 2c 20 73 68 6f 72 74 20 |r window|, short |
|00000360| 73 61 76 65 4d 6f 64 65 | 29 3b 0d 0d 20 20 20 20 |saveMode|);.. |
|00000370| 46 69 6c 65 3a 20 57 69 | 6e 64 6f 77 32 2e 68 0d |File: Wi|ndow2.h.|
|00000380| 0d 49 4e 50 55 54 3a 20 | 20 77 69 6e 64 6f 77 0d |.INPUT: | window.|
|00000390| 20 20 20 20 20 20 20 20 | 73 61 76 65 4d 6f 64 65 | |saveMode|
|000003a0| 0d 0d 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |..This f|unction |
|000003b0| 64 6f 65 73 20 65 78 61 | 63 74 6c 79 20 61 73 20 |does exa|ctly as |
|000003c0| 79 6f 75 20 77 6f 75 6c | 64 20 65 78 70 65 63 74 |you woul|d expect|
|000003d0| 2e 20 20 54 68 65 20 73 | 61 76 65 4d 6f 64 65 20 |. The s|aveMode |
|000003e0| 69 6e 64 69 63 61 74 65 | 73 0d 77 68 65 74 68 65 |indicate|s.whethe|
|000003f0| 72 20 74 68 65 20 77 69 | 6e 64 6f 77 20 69 73 20 |r the wi|ndow is |
|00000400| 62 65 69 6e 67 20 63 6c | 6f 73 65 64 20 64 75 65 |being cl|osed due|
|00000410| 20 74 6f 20 61 20 63 6c | 6f 73 65 20 72 65 71 75 | to a cl|ose requ|
|00000420| 65 73 74 2c 20 6f 72 20 | 64 75 65 20 74 6f 20 74 |est, or |due to t|
|00000430| 68 65 0d 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 62 |he.appli|cation b|
|00000440| 65 69 6e 67 20 71 75 69 | 74 2e 20 20 49 66 20 74 |eing qui|t. If t|
|00000450| 72 75 65 20 69 73 20 72 | 65 74 75 72 6e 65 64 2c |rue is r|eturned,|
|00000460| 20 74 68 65 6e 20 64 69 | 73 70 6f 73 69 6e 67 20 | then di|sposing |
|00000470| 6f 66 20 74 68 65 20 77 | 69 6e 64 6f 77 0d 77 61 |of the w|indow.wa|
|00000480| 73 20 73 75 63 63 65 73 | 73 66 75 6c 2e 20 20 49 |s succes|sful. I|
|00000490| 66 20 66 61 6c 73 65 20 | 69 73 20 72 65 74 75 72 |f false |is retur|
|000004a0| 6e 65 64 2c 20 74 68 65 | 20 75 73 65 72 20 6d 61 |ned, the| user ma|
|000004b0| 79 20 68 61 76 65 20 63 | 61 6e 63 65 6c 65 64 20 |y have c|anceled |
|000004c0| 74 68 65 20 63 6c 6f 73 | 65 0d 64 75 65 20 74 6f |the clos|e.due to|
|000004d0| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 20 6e 65 | the doc|ument ne|
|000004e0| 65 64 69 6e 67 20 74 6f | 20 62 65 20 73 61 76 65 |eding to| be save|
|000004f0| 64 2c 20 61 20 64 69 61 | 6c 6f 67 20 61 73 20 73 |d, a dia|log as s|
|00000500| 75 63 68 20 70 6f 70 70 | 69 6e 67 20 75 70 2c 20 |uch popp|ing up, |
|00000510| 61 6e 64 0d 74 68 65 20 | 75 73 65 72 20 63 6c 69 |and.the |user cli|
|00000520| 63 6b 69 6e 67 20 63 61 | 6e 63 65 6c 2e 0d 0d 49 |cking ca|ncel...I|
|00000530| 66 20 74 68 65 20 75 73 | 65 72 20 73 61 79 73 20 |f the us|er says |
|00000540| 69 74 20 69 73 20 6f 6b | 61 79 20 74 6f 20 64 69 |it is ok|ay to di|
|00000550| 73 70 6f 73 65 20 74 68 | 65 20 77 69 6e 64 6f 77 |spose th|e window|
|00000560| 2c 20 44 69 73 70 6f 73 | 65 4f 6e 65 57 69 6e 64 |, Dispos|eOneWind|
|00000570| 6f 77 20 63 61 6c 6c 73 | 0d 74 68 65 20 77 69 6e |ow calls|.the win|
|00000580| 64 6f 77 d5 73 20 46 72 | 65 65 57 69 6e 64 6f 77 |dow.s Fr|eeWindow|
|00000590| 20 61 6e 64 20 46 72 65 | 65 44 6f 63 75 6d 65 6e | and Fre|eDocumen|
|000005a0| 74 20 70 72 6f 63 65 64 | 75 72 65 73 20 74 6f 20 |t proced|ures to |
|000005b0| 67 69 76 65 20 74 68 65 | 20 61 70 70 6c 69 63 61 |give the| applica|
|000005c0| 74 69 6f 6e 0d 61 20 63 | 68 61 6e 63 65 20 74 6f |tion.a c|hance to|
|000005d0| 20 72 65 6c 65 61 73 65 | 20 61 70 70 6c 69 63 61 | release| applica|
|000005e0| 74 69 6f 6e 2d 73 70 65 | 63 69 66 69 63 20 6d 65 |tion-spe|cific me|
|000005f0| 6d 6f 72 79 20 61 73 73 | 6f 63 69 61 74 65 64 20 |mory ass|ociated |
|00000600| 77 69 74 68 20 74 68 65 | 20 77 69 6e 64 6f 77 0d |with the| window.|
|00000610| 61 6e 64 20 64 6f 63 75 | 6d 65 6e 74 2e 0d 0d 5f |and docu|ment..._|
|00000620| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 0d 0d 41 6c 73 6f 20 |________|_..Also |
|00000630| 73 65 65 3a 20 20 20 44 | 69 73 70 6f 73 65 41 6c |see: D|isposeAl|
|00000640| 6c 57 69 6e 64 6f 77 73 | 2e 20 0d 0d 0d 00 8e 00 |lWindows|. ......|
|00000650| 07 00 00 00 00 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|00000660| 00 00 00 00 00 00 00 02 | 57 00 0b 00 09 00 04 05 |........|W.......|
|00000670| 00 00 09 00 00 00 00 00 | 00 00 00 02 61 00 0b 00 |........|....a...|
|00000680| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 02 |........|........|
|00000690| 66 00 0b 00 09 00 04 05 | 00 00 09 00 00 00 00 00 |f.......|........|
|000006a0| 00 00 00 02 72 00 0b 00 | 09 00 04 00 00 00 09 00 |....r...|........|
|000006b0| 00 00 00 00 00 00 00 03 | 08 00 0b 00 09 00 04 05 |........|........|
|000006c0| 00 00 09 00 00 00 00 00 | 00 00 00 03 19 00 0b 00 |........|........|
|000006d0| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 |........|..... |
+--------+-------------------------+-------------------------+--------+--------+